package com.atstudent.gmall.common.feign.product.fallback;

import com.atstudent.gmall.common.feign.product.SkuFeignClient;
import com.atstudent.gmall.common.result.Result;
import com.atstudent.gmall.product.entity.SkuInfo;
import com.atstudent.gmall.product.entity.SpuSaleAttr;
import com.atstudent.gmall.product.vo.AttrValueConcatVo;
import com.atstudent.gmall.product.vo.CategoryView;
import com.atstudent.gmall.product.vo.SkuDetailVo;
import lombok.extern.slf4j.Slf4j;

import java.util.List;

/**
 * @Author 薛有朋
 * @CreatDate 2024/12/1 21:48
 **/
@Slf4j
public class SkuFeignClientFallback implements SkuFeignClient {
    @Override
    public Result<CategoryView> findCategoryViewBySkuId(Long skuId) {
        log.info("SkuFeignClientFallback-findCategoryViewBySkuId执行了。。。。");
        return Result.ok();
    }

    @Override
    public Result<SkuInfo> findSkuInfoAndImageBySkuId(Long skuId) {
        log.info("SkuFeignClientFallback-findSkuInfoAndImageBySkuId执行了。。。。");
        return Result.ok();
    }

    @Override
    public Result<SkuInfo> findSkuInfoBySkuId(Long skuId) {
        log.info("SkuFeignClientFallback-findSkuInfoBySkuId执行了。。。。");
        return Result.ok();
    }

    @Override
    public Result<List<SpuSaleAttr>> findSpuSalAttrBySkuId(Long skuId) {
        log.info("SkuFeignClientFallback-findSpuSalAttrBySkuId执行了。。。。");
        return Result.ok();
    }

    @Override
    public Result<List<AttrValueConcatVo>> findSkuAttrValueConcatBySkuId(Long skuId) {
        log.info("SkuFeignClientFallback-findSkuAttrValueConcatBySkuId执行了。。。。");
        return Result.ok();
    }

    @Override
    public Result<SkuDetailVo> findSkuDetailVo(Long skuId) {
        log.info("SkuFeignClientFallback-findSkuDetailVo执行了。。。。");
        return Result.ok();
    }

    @Override
    public Result<List<Long>> findAllSkuIds() {
        log.info("SkuFeignClientFallback-findAllSkuIds执行了。。。。");
        return Result.ok();
    }


}
